package cn.winwintech.Incense.service;

import org.springframework.web.multipart.MultipartFile;

public class ServiceBase {

	public String getExtensionName(MultipartFile file) {
		String name = file.getOriginalFilename();
		return name.substring(name.lastIndexOf("."));
	}

}
